﻿using SHZY.Common.Const;
using SHZY.Common.Contracts;
using SqlSugar;

namespace SHZY.Business.WMS.Entitys;

/// <summary>
/// 打印记录实体.
/// </summary>
[SugarTable("wms_busi_label_print", "打印记录")]
[Tenant(ClaimConst.TENANTID)]
public class WmsBusiLabelPrintEntity : CLDEntityBase
{
    /// <summary>
    /// 打印类型：0收货打印 1 成品打印 2 包装打印.
    /// </summary>
    [SugarColumn(ColumnName = "F_PrintType", ColumnDescription = "打印类型：0收货打印 1 成品打印 2 包装打印")]
    public int? PrintType { get; set; }

    /// <summary>
    /// 打印事件编号.
    /// </summary>
    [SugarColumn(ColumnName = "F_PrintEventCode", ColumnDescription = "打印事件编号")]
    public string PrintEventCode { get; set; }

    /// <summary>
    /// 订单的id.
    /// </summary>
    [SugarColumn(ColumnName = "F_OrderId", ColumnDescription = "订单的id")]
    public string OrderId { get; set; }

    /// <summary>
    /// 订单编号.
    /// </summary>
    [SugarColumn(ColumnName = "F_OrderNo", ColumnDescription = "订单编号")]
    public string OrderNo { get; set; }

    /// <summary>
    /// 物料id.
    /// </summary>
    [SugarColumn(ColumnName = "F_MaterialId", ColumnDescription = "物料id")]
    public string MaterialId { get; set; }

    /// <summary>
    /// 物料code.
    /// </summary>
    [SugarColumn(ColumnName = "F_MaterialCode", ColumnDescription = "物料code")]
    public string MaterialCode { get; set; }

    /// <summary>
    /// 物料名称.
    /// </summary>
    [SugarColumn(ColumnName = "F_MaterialName", ColumnDescription = "物料名称")]
    public string MaterialName { get; set; }

    /// <summary>
    /// 规格.
    /// </summary>
    [SugarColumn(ColumnName = "F_Specification", ColumnDescription = "规格")]
    public string Specification { get; set; }

    /// <summary>
    /// 批次号.
    /// </summary>
    [SugarColumn(ColumnName = "F_BatchNo", ColumnDescription = "批次号")]
    public string BatchNo { get; set; }

    /// <summary>
    /// 数量.
    /// </summary>
    [SugarColumn(ColumnName = "F_Qty", ColumnDescription = "数量")]
    public decimal Qty { get; set; }

    /// <summary>
    /// 打印人.
    /// </summary>
    [SugarColumn(ColumnName = "F_PrintUser", ColumnDescription = "打印人")]
    public string PrintUser { get; set; }

    /// <summary>
    /// 打印时间.
    /// </summary>
    [SugarColumn(ColumnName = "F_PrintDate", ColumnDescription = "打印时间")]
    public DateTime? PrintDate { get; set; }

    /// <summary>
    /// 条码.
    /// </summary>
    [SugarColumn(ColumnName = "F_Barcode", ColumnDescription = "条码")]
    public string Barcode { get; set; }

    /// <summary>
    /// Site.
    /// </summary>
    [SugarColumn(ColumnName = "F_Site", ColumnDescription = "Site")]
    public string Site { get; set; }
}